feat: MQA quality scoring — Phase 2 vocabulary checks (v2.14.0)#56
Merged
Conversation
Score the MQA 'vocab'-type metrics offline (no new form fields needed since all inputs exist as of v2.12.0): - Format/media-type from vocabulary (10): format is part of the controlled EU file-type set - Non-proprietary format (20) + machine-readable format (20): from new flags in config/dct-format-list.php (aligned with the EU vocabularies) - License from vocabulary (10): license URI is in the known license set (config/licenses.txt / standard licenses) - Access rights from vocabulary (5): value comes from the EU access-right vocab The assessable maximum rises from ~230 to ~295 of 405 (all offline). Only URL reachability (80) and DCAT-AP SHACL (30) remain "not assessed" (Phase 3, opt-in). - config/dct-format-list.php: add machine_readable + non_proprietary per format - ODW_Fields::get_format_meta(): public accessor for a format's config entry - ODW_Quality::check_vocab_metric() + license/access-right vocab helpers - Meta-box "not assessed" hint updated (vocabulary now assessed) - i18n: updated string added to en_US Version 2.14.0. Tests: 149 pass, PHPStan clean, PHPCS exit 0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JB1xUQM892bVZ4Yv3MZjvq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MQA-Scoring — Phase 2 (Vokabular-Checks, offline)
Bewertet die MQA-Metriken vom Typ
vocab— rein offline, ohne neue Formularfelder (alle Eingaben existieren seit v2.12.0).Neu bewertet
non_proprietaryindct-format-list.phpmachine_readableindct-format-list.phplicenses.txt/ Standardlizenzen)Bewertbares Maximum: ~230 → ~295 von 405 (alles offline). Es verbleiben nur URL-Erreichbarkeit (80) und DCAT-AP-SHACL (30) als „nicht bewertet" (Phase 3, opt-in).
Änderungen
config/dct-format-list.php:machine_readable+non_proprietaryje Format (an den EU-Vokabularen orientiert)ODW_Fields::get_format_meta(): öffentlicher Accessor für den Format-Config-EintragODW_Quality::check_vocab_metric()+ Lizenz-/Access-Right-Vokabular-Helferen_USVerifikation
Nächster Schritt (optional): Phase 3 — URL-Erreichbarkeit (
wp_remote_head, gecacht) + DCAT-AP-SHACL, per Einstellung aktivierbar.🤖 Generated with Claude Code
Generated by Claude Code